package com.fulihui.usercore.enums;

import org.near.toolkit.model.BaseEnum;

/**
 * 公共状态枚举
 * Created by Willard.Hu on 2016/5/16.
 */
public enum CommonStateEnum implements BaseEnum {

    ON("ON", "开启"),

    OFF("OFF", "关闭"),

    DEL("DEL", "删除"),

    ;

    private String code;
    private String desc;

    CommonStateEnum(String code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
